﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Data.Objects;
using DataLayer.Entities;

namespace DataLayer.EntityConfiguration
{
    public class ContactConfiguration : EntityConfiguration<Contact>
    {
        public ContactConfiguration()
        {
            Property(p => p.ContactID).IsIdentity();
            Property(p => p.Name).IsRequired();
            Property(p => p.Email).IsRequired();
    
        }
    }
}
